package com.xc.service;

import com.xc.model.entity.AdEntity;

import java.util.List;

public interface BaseService<T> {
    int save(T t);

    int update(T t);

    int delete(T t);

    T getModel(T t);

    List<T> getList(T t);
}
